// 服务器IP、端口
const BASE_URL = 'http://api.douban.com'

// 自定义配置接口
const api = {
  BASE_URL,
  signup: `${BASE_URL}/signup`,
  login: `${BASE_URL}/sys/login`,
  imgUpload: `${BASE_URL}/sys/imgUpload`,
  editInfo: `${BASE_URL}/sys/editInfo`,
  editPassword: `${BASE_URL}/sys/editPassword`,
  askImg: `${BASE_URL}/sys/askImg`,
  question: `${BASE_URL}/sys/question`,
  questionList: `${BASE_URL}/sys/questionList`,
  questionEdit: `${BASE_URL}/sys/questionEdit`,
  questionDelete: `${BASE_URL}/sys/questionDelete`,
  indexQuestion: `${BASE_URL}/sys/questionIndex`
}

// 返出接口对象
export default api
